package com.fruit.auth.service;

import java.io.Serializable;
import java.util.List;

import com.fruit.auth.model.Privilege;
import com.fruit.auth.model.Role;
import com.fruit.service.BaseService;

public interface RoleService extends BaseService<Role>
{
	public List<Privilege> findRolePrivileges(Role role);
	public void updateRolePrivileges(Role role,List<Serializable> privilegeIds);
	public List<Serializable> findRolePrivilegeIds(Role role);
	public void deleteRole(Role role);
	public void deleteRoles(String roleIdsStr);
}
